-- GENERATED SPELL FOR [Ethereum Shocktrooper] --


function spell0_20453(pUnit, Event) --@Glaive,n/a--
pUnit:FullCastSpellOnTarget(36500,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20453', 532, 1)
end

function spell1_20453(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(31553,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20453', 10261, 1)
end

function Sorts_20453(pUnit, Event)
local choix_sorts_20453 = math.random(0, 1)
if choix_sorts_20453 == 0 then
pUnit:RegisterEvent('spell0_20453', 1, 1)
end
if choix_sorts_20453 == 1 then
pUnit:RegisterEvent('spell1_20453', 1, 1)
end
end

function mob20453_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20453', math.random(1500, 3000), 1)
end

function mob20453_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20453_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20453_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20453, 1, 'mob20453_Action')
RegisterUnitEvent(20453, 2, 'mob20453_Leave')
RegisterUnitEvent(20453, 3, 'mob20453_Kill')
RegisterUnitEvent(20453, 4, 'mob20453_Die')
